var sayHello=function () {
  console.log("hello world");
}
/*
module.exports = sayHello;//传递函数时，传递函数变量*/

/*module.exports = sayHello();//error*/

var state="test"
var s="s";

module.exports = {
    sayHello:sayHello,
    state:state,
    s
}
